Why does sleep apnea cause weight gain?

Not only does adequate sleep keep you feeling well-rested, but it also allows your body the time to recover and repair itself.